package com.atguigu.rules;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RoundRobinRule;

@Configuration
public class MyselfRule {
	
	@Bean
	public IRule myRule() {
		return new RandomRule_LXY();
	}
	
}
